package com.buer.train.business.service;

import com.buer.train.business.domain.DocDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 文章
 * @date 2021-05-25 14:08:34
 */
public interface DocService {
	
	DocDO get(Integer id);
	
	List<DocDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(DocDO doc);
	
	int update(DocDO doc);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    PageInfo<DocDO> getDocList(Map<String, Object> map);

    DocDO getOne(Map<String, Object> map);
}
